package com.rabbit.eap.system.enums;

import com.rabbit.eap.framework.common.enums.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @projectName: eap
 * @packageName: com.rabbit.eap.system.enums
 * @className: UserEnum
 * @author： rabbit
 * @version： 1.0
 * @since： 2020/7/12 21:00
 * <p>Description: UserStateEnum
 * 系统枚举类
 * </p>

 */
@Getter
@AllArgsConstructor
public enum UserStateEnum implements BaseEnum {
    MOBILE_HAS_EXIST(10104, "手机已经存在"),
    EMAIL_HAS_EXIST(10105, "邮箱已经存在"),
    USER_NUMBER_HAS_EXIST(10105, "工号已经存在"),
    reset_pwd_success(10106, "重置密码成功"),
    reset_pwd_fail(10107, "重置密码失败"),
    modify_pwd_success(10108, "修改密码成功"),
    modify_pwd_fail(10109, "修改密码失败"),
    change_status_success(10110, "修改用户状态成功"),
    change_status_fail(10111, "修改用户状态失败"),
    USER_ID(10112, "用户编号"),
    DEFAULT_ADMIN(10112, "不允许删除超级管理员"),
    ;

    private Integer code;
    private String desc;
}
